<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title>html</title>
  </head>
  <body>
    <div id="app"></div>
    <script type="text/javascript" src="https://v1.cnzz.com/z_stat.php?id=1277941851&web_id=1277941851"></script>
    <!-- built files will be auto injected -->
  </body>
  <script>
    var _czc = _czc || [];
    _czc.push(["_setAccount", "1277941851"]);
   //得到手机屏幕的宽度
    let htmlWidth = document.documentElement.clientWidth || document.body.clientWidth;
    //得到html的Dom元素
    let htmlDom = document.getElementsByTagName('html')[0];
    //设置根元素字体大小
    htmlDom.style.fontSize= htmlWidth/3.75 + 'px';
  </script>
</html>
